package com.waitingresult.entity;

import lombok.*;

import java.math.BigDecimal;

/**
 * @Author: WangShuai
 * @CreateTime: 2022-11-01  22:57
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
public class User {
    private Long id;
    private String name;
    private String address;
    private BigDecimal price;

    public User(Long id, String name, String address) {
        this.id = id;
        this.name = name;
        this.address = address;
    }

    public User(Long id, String name) {
        this.id = id;
        this.name = name;
    }
}
